package com.example.cofeed.activity;

import android.os.Bundle;
import android.view.View;

import com.blankj.utilcode.util.ActivityUtils;
import com.example.cofeed.R;
import com.example.cofeed.base.BaseActivity;
import com.umeng.analytics.MobclickAgent;

import butterknife.ButterKnife;
import butterknife.OnClick;

public class MyMsgActivity extends BaseActivity {

    @Override
    protected int getLayoutId() {
        return R.layout.activity_my_msg;
    }

    @Override
    protected void init(Bundle savedInstanceState, View container) {
        setMainTitle("我的短信");

    }

    @OnClick({R.id.tv_wddy, R.id.tv_ztdx, R.id.tv_tssz, R.id.tv_wdsc})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.tv_wddy:
                ActivityUtils.startActivity(MySubscriptionActivity.class);
                break;
            case R.id.tv_ztdx:
                ActivityUtils.startActivity(SetFontActivity.class);
                break;
            case R.id.tv_tssz:
                ActivityUtils.startActivity(PushSubscriptionActivity.class);
                break;
            case R.id.tv_wdsc:
                ActivityUtils.startActivity(MyCollectActivity.class);
                break;
        }
    }

    @Override
    public void onResume() {
        super.onResume();
        MobclickAgent.onResume(this);
    }

    @Override
    public void onPause() {
        super.onPause();
        MobclickAgent.onPause(this);
    }
}
